package it.abc.sicsic.view.backing;

import java.util.List;

public class NavigationItem {
    private String text;
       private String action;
       String link;
       private List<NavigationItem> children;
    
    public NavigationItem() {
        super();
    }
    public NavigationItem(String text,String action,String link){
         super();
         this.text = text;
         this.action = action;
         this.link = link;
       }

    public void setLink(String link) {
        this.link = link;
    }
    
    public String getLink(){
         return link;
     }

    public void setText(String text) {
           this.text = text;
       }

       public String getText() {
           return text;
       }

       public void setAction(String action) {
           this.action = action;
       }

       public String getAction() {
           return action;
       }
       
       public void setChildren(List<NavigationItem> children) {
           this.children = children;
       }

       public List<NavigationItem> getChildren() {
           return children;
       }
}
